<?php
namespace Core\CoreContracts;
/*
* States event enumeration
*/
class StateEvent {

	/*
	* The event state is unknown
	*/
	const Unknown = 0;
	/*
	* The event state is edit. It's not online but editable
	*/
	const Edit = 1;
	/*
	* The event is planned, coming soon
	*/
	const Planned = 2;
	/*
	* The event is close to subscriptions
	*/
    const CloseSubscriptions = 3;
	/*
	* The event is running
	*/
    const Running = 4;
	/*
	* The event is cancelled
	*/
    const Cancelled = 5;
	/*
	* The event is done
	*/
    const Done = 6;
	
	/*
	* Get all available state
	*/
	public function getArray()
	{
		$class = new \ReflectionClass(__Class__);
		return $class->getConstants();
	}
}
?> 